how to find scalar projections